package com.zsc.newbuds.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @author D
 */
@Component
public class OssConfig {

    @Value("${alyun.bucketName}")
    private String bucketName;
    @Value("${alyun.endpoint}")
    private String endpoint;
    @Value("${alyun.accessKeyId}")
    private String accessKeyId;
    @Value("${alyun.accessKeySecret}")
    private String accessKeySecret;
    @Value("${alyun.postHost}")
    private String postHost;

    public String getPostHost() {
        return postHost;
    }

    public void setPostHost(String postHost) {
        this.postHost = postHost;
    }

    public String getBucketName() {
        return bucketName;
    }

    public void setBucketName(String bucketName) {
        this.bucketName = bucketName;
    }

    public String getEndpoint() {
        return endpoint;
    }

    public void setEndpoint(String endpoint) {
        this.endpoint = endpoint;
    }

    public String getAccessKeyId() {
        return accessKeyId;
    }

    public void setAccessKeyId(String accessKeyId) {
        this.accessKeyId = accessKeyId;
    }

    public String getAccessKeySecret() {
        return accessKeySecret;
    }

    public void setAccessKeySecret(String accessKeySecret) {
        this.accessKeySecret = accessKeySecret;
    }



}
